package org.wdcode.common.constants;

/**
 * 字符串常量
 * @author WD
 * @since JDK6
 * @version 1.0 2009-11-20
 */
public final class StringConstants {
	/* 常量符号字符串 */
	/**
	 * 常量字符串 ""
	 */
	public final static String	EMPTY;
	/**
	 * 常量字符串 " "
	 */
	public final static String	BLANK;
	/**
	 * 常量字符串 "0"
	 */
	public final static String	ZERO;
	/**
	 * 常量字符串 "."
	 */
	public final static String	POINT;
	/**
	 * 常量字符串 "_"
	 */
	public final static String	UNDERLINE;
	/**
	 * 常量字符串 "-"
	 */
	public final static String	MIDLINE;
	/**
	 * 常量字符串 "#"
	 */
	public final static String	WELL;
	/**
	 * 常量字符串 ","
	 */
	public final static String	COMMA;
	/**
	 * 常量字符串 ":"
	 */
	public final static String	COLON;
	/**
	 * 常量字符串 "/"
	 */
	public final static String	BACKSLASH;
	/**
	 * 常量字符串 "\"
	 */
	public final static String	DIAGONAL;
	/**
	 * 常量字符串 "\\r"
	 */
	public final static String	ENTER;
	/**
	 * 常量字符串 "\\n"
	 */
	public final static String	NEWLINE;
	/**
	 * 常量字符串 "&"
	 */
	public final static String	AMP;
/**
	 * 常量字符串 "<"
	 */
	public final static String	LT;
	/**
	 * 常量字符串 ">"
	 */
	public final static String	GT;
	/**
	 * 常量字符串 "\""
	 */
	public final static String	QUOT;
	/**
	 * 常量字符串"'"
	 */
	public final static String	SINGLE_QUOT;
	/**
	 * 常量字符串"''"
	 */
	public final static String	TWO_SINGLE_QUOT;
	/**
	 * 常量字符串"?"
	 */
	public final static String	QUESTION_MARK;
	/**
	 * 常量字符串"*"
	 */
	public final static String	ASTERISK;

	/**
	 * 静态初始化
	 */
	static {
		// 常量字符串 ""
		EMPTY = "";
		// 常量字符串 " "
		BLANK = " ";
		// 常量字符串 "0"
		ZERO = "0";
		// 常量字符串 "."
		POINT = ".";
		// 常量字符串 "_"
		UNDERLINE = "_";
		// 常量字符串 "-"
		MIDLINE = "-";
		// 常量字符串 "#"
		WELL = "#";
		// 常量字符串 ","
		COMMA = ",";
		// 常量字符串 ":"
		COLON = ":";
		// 常量字符串 "/"
		BACKSLASH = "/";
		// 常量字符串 "\"
		DIAGONAL = "\\";
		// 常量字符串 "\\r"
		ENTER = "\\r";
		// 常量字符串 "\\n"
		NEWLINE = "\\n";
		// 常量字符串 "&"
		AMP = "&";
		// 常量字符串 "<"
		LT = "<";
		// 常量字符串 ">"
		GT = ">";
		// 常量字符串 "\""
		QUOT = "\"";
		// 常量字符串"'"
		SINGLE_QUOT = "'";
		// 常量字符串"'"
		TWO_SINGLE_QUOT = "''";
		// 常量字符串"?"
		QUESTION_MARK = "?";
		// 常量字符串"*"
		ASTERISK = "*";
	}

	/* 常量字母字符串 */
	/**
	 * 常量字符串 "true"
	 */
	public final static String	TRUE;
	/**
	 * 常量字符串 "false"
	 */
	public final static String	FALSE;
	/**
	 * 常量字符串 "yes"
	 */
	public final static String	YES;
	/**
	 * 常量字符串 "no"
	 */
	public final static String	NO;
	/**
	 * 常量字符串 "ok"
	 */
	public final static String	OK;
	/**
	 * 常量字符串 "bad"
	 */
	public final static String	BAD;
	/**
	 * 常量字符串 "default"
	 */
	public final static String	DEFAULT;
	/**
	 * 常量字符串 "set"
	 */
	public final static String	SET;
	/**
	 * 常量字符串 "get"
	 */
	public final static String	GET;

	/**
	 * 静态初始化
	 */
	static {
		// 常量字符串 "true"
		TRUE = "true";
		// 常量字符串 "false"
		FALSE = "false";
		// 常量字符串 "yes"
		YES = "yes";
		// 常量字符串 "no"
		NO = "no";
		// 常量字符串 "ok"
		OK = "ok";
		// 常量字符串 "bad"
		BAD = "bad";
		// 常量字符串 "default"
		DEFAULT = "default";
		// 常量字符串 "set"
		SET = "set";
		// 常量字符串 "get"
		GET = "get";
	}

	/* 格式 */
	/**
	 * 常量字符串 "gzip"
	 */
	public final static String	GZIP;

	/**
	 * 静态初始化
	 */
	static {
		// 常量字符串 "gzip"
		GZIP = "gzip";
	}

	/**
	 * 私有构造禁止外部实例化
	 */
	private StringConstants() {}
}
